import { ref } from 'vue'
export default function useSelectSvgIcon() {
    //选择图标组件的ref属性
    const selectSvgIconRef = ref<{ show: (icon: string) => void }>()

    //选择图标
    const selectIcon = (icon: string) => {
        selectSvgIconRef.value?.show(icon)
    }
    return {
        selectSvgIconRef,
        selectIcon
    }
}
